home *** CD-ROM | disk | FTP | other *** search
- // -----
- // VDL170.txt
- // Copyright 1996 Claris
- // -----
-
-
- //Registration screen
-
- //License Dialog
-
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED STRING CONSTANTS BEGIN **************************************/
-
- //This section contains all localizable string constants for this VDL program. Be sure to
- //include the backslash character at the end of each line of a multi-line string, except for the last line.
- //You may also flatten multiline constants into a single line, if you prefer
-
- #define kLit1 "Please Register this Copy of Claris Home Page:"
- #define kLit2 "Name: "
- #define kLit3 "Company: "
- #define kLit4 "Serial Number: "
-
-
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
- /************************** LOCALIZED STRING CONSTANTS END **************************************/
-
-
-
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS BEGIN **************************************/
-
- //This section contains integer constants that are used to format this VDL program.
- //These are localizable - they only need to be changed if the localized strings
- //are sufficiently longer than the US strings. Localize the strings first, then the constants.
-
-
- //Width of the three labels "Name", "Company", "Serial Number"
- #define kLabelWidth 100
-
- //Width of the edit text fields themselves.
- #define kEditTextWidth 250
-
- //Margin to the left of the "Home Page" logotype
- #define kHomePageLeftMargin 84
-
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
- /************************** LOCALIZED NUMERICAL CONSTANTS END **************************************/
-
- //No further localizable data past this point
-
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
- /************************** END LOCALIZABLE DATA ***************************************************/
-
- Define(TextFields)
- VList()
- {
- StaticText(kLit1);
-
- Spacer(Height = 10, Width = 0);
-
- #if Platform_Mac
- EditText(user_name, Label = kLit2, LabelWidth = kLabelWidth, LabelAlignment = Right,Width = kLabelWidth + kEditTextWidth);
- Spacer(Height = 5, Width = 0);
- EditText(user_company, Label = kLit3, LabelWidth = kLabelWidth, LabelAlignment = Right,Width = kLabelWidth + kEditTextWidth);
- Spacer(Height = 5, Width = 0);
- EditText(user_ID, Label = kLit4, LabelWidth = kLabelWidth, LabelAlignment = Right,Width = kLabelWidth + kEditTextWidth);
- #else
- HList()
- {
- Margin(0,3,0,0)
- StaticText(kLit2, Alignment = Right, Width = kLabelWidth);
-
- Margin(1,1,1,1, BackColor = Black)
- Margin(2,2,2,2, BackColor = White)
- EditText(user_name, NoFrame, Width = kEditTextWidth);
- }
- Spacer(Height = 3, Width = 0);
- HList()
- {
- Margin(0,3,0,0)
- StaticText(kLit3, Alignment = Right, Width = kLabelWidth);
-
- Margin(1,1,1,1, BackColor = Black)
- Margin(2,2,2,2, BackColor = White)
- EditText(user_company, NoFrame, Width = kEditTextWidth);
- }
- Spacer(Height = 3, Width = 0);
- HList()
- {
- Margin(0,3,0,0)
- StaticText(kLit4, Alignment = Right, Width = kLabelWidth);
-
- Margin(1,1,1,1, BackColor = Black)
- Margin(2,2,2,2, BackColor = White)
- EditText(user_ID, NoFrame, Width = kEditTextWidth);
- }
- #endif
- }
-
-
-
- Margin(10, 10, 10, 10)
- VList()
- {
- PICT(15000,DontMap);
- Margin(kHomePageLeftMargin, 0, 0, 0)
- PICT(15001,DontMap);
- Call(TextFields );
-
- Spacer(Height = 20, Width = 0);
- StandardDialogButtonsH;
- } //Main List
-
-
-